#pragma once
#include <vector>
#include <string>
#include "server.h"
#include "thread.h"

using std::string;
using std::vector;

class lf_extract_server : public server
{
public:
	lf_extract_server(){set_name("lf_extract");}
	int start();
};

class lf_merge_server : public server
{
	vector<address> _lf_match;
public:
	string name = "lf_merge";
	lf_merge_server(){set_name(name);}

	void add_lf_match(address s){_lf_match.push_back(s);}
	vector<address> &get_lf_match(){return _lf_match;}

	int start();
};

class lf_match_server : public match_server
{
public:
	lf_match_server(){set_name("lf_match");}
	int start();
};


